package com.sangeng.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * ClassName: ArticleDetailVo
 * Package: com.sangeng.domain.vo
 * Description:
 *
 * @Author hjh
 * @Create 2024/8/13 0:08
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleDetailVo {


    /**
     *  所属分类id
     */
    private Long categoryId;

    private String categoryName;

    /**
     *  文章内容
     */
    private String content;


    /**
     *
     */
    private Date updateTime;

    /**
     *  文章本体id
     */
    @TableId
    private Long id;

    /**
     *
     */
    private String isComment;

    /**
     *  标题
     */
    private String title;

    /**
     *  访问量
     */
    private Long viewCount;


}
